{% extends "base-tree.html" %}
{# база с деревом #}
{% load i18n %}
{% load fm_media %}
{% block content_right %}
<div id="content-right">
  <div class="toolbar">
    <ul>
      <li><a href="/">Вверх</a></li>
      <li><a href="catalog/">Загрузка</a></li>
      <li><a href="basket/">Добавить Директорию</a></li>
      <li><a href="help/">Дополнительно</a></li>
    </ul>
  </div>
<div id="list-view">
{% include 'listview_items.html' %}
</div>
<script>
$(document).ready(OnLoadEvent);
</script>

</div>
{% endblock %} 








{% comment %}
<div id="pwd"><b>{% trans "You are here:" %}</b> {{ pwd }}</div>
{% for file in objlist %}
<div class="wit browse-file-box-details " name="file row" title="Музыка в квадратных коробках  сполки не наша.doc" id="">
<div style="position: relative;overflow:hidden;">
    <div class="details-check">
      <img alt="" src="/static/images/icons/icon_spacer.gif" class="checkbox sprite s_checkbox">
    </div>
    <div class="details-icon">
      <a href="" name="file icon">
        <img class="sprite s_page_white_word link-img" alt="" style="vertical-align: bottom; border: 0pt none;" src="{{ fileman_media_url }}img/{% if file.isdir %}folder.gif{% else %}file.gif{% endif %}">
      </a>
    </div>
    <div class="details-filename">
      <a href="" name="file name">{{ file.name }}</a>
    </div>
    <div class="details-size">{{ file.size|filesizeformat }}</div>
    <div class="details-modified">&nbsp</div>
    <div href="#" class="dropdown-arrow" style="visibility: hidden;">
      <img alt="" width="9" height="9" src="{{ fileman_media_url }}img/dropdown.png">
    </div>
</div>
</div>
{% endfor %}
{% endcomment %}




   {% comment %}
    <tr><td>
    <input type="checkbox" name="{{ file.name }}" value="{{ file.path }}" id="f{{ forloop.counter }}">
    <img src="{{ fileman_media_url }}/file.gif"> <label for="f{{ forloop.counter }}" class="file">{{ file.name }}</label></td>
    <td width="100px">
        {{ file.size|filesizeformat }}
    </td>
    {% if perms.fileman.can_fm_add %}
    <td width="18px" class="copy">
        <a href="#" onclick="return copy_one(this, '{{ file.name }}', '{{ file.path }}');" title="{% trans 'Copy' %}"><img src="{{ fileman_media_url }}/page_white_copy.png" alt="{% trans 'Copy' %}"></a>
    </td>
    {% endif %}
    {% if perms.fileman.can_fm_rename %}
    <td width="18px" class="cut">
        <a href="#" onclick="return cut_one(this, '{{ file.name }}', '{{ file.path }}');" title="{% trans 'Cut' %}"><img src="{{ fileman_media_url }}/cut.png" alt="{% trans 'Cut' %}"></a>
    </td>
    {% endif %}
    {% if perms.fileman.can_fm_rename %}
    <td width="18px" class="rename">
        <a href="#" onclick="return rename(this, '{{ file.name }}', '{{ file.path }}');" title="{% trans 'Rename' %}"><img src="{{ fileman_media_url }}/pencil.png" alt="{% trans 'Rename' %}"></a>
    </td>
    {% endif %}
    {% if perms.fileman.can_fm_del %}
    <td width="18px" class="del">
        <a href="#" onclick="return del_one(this, '{{ file.name }}', '{{ file.path }}');" title="{% trans 'Delete' %}"><img src="{{ fileman_media_url }}/delete.png" alt="{% trans 'Delete' %}"></a>
    </td>
    {% endif %}
    {% if perms.fileman.can_fm_destruct %}
    <td width="18px" class="dest">
        <a href="#" onclick="return dest_one(this, '{{ file.name }}', '{{ file.path }}');" title="{% trans 'Destroy' %}"><img src="{{ fileman_media_url }}/cross.png" alt="{% trans 'Destroy' %}"></a>
    </td>
    {% endif %}
    </tr>
    {% endcomment %}